package com.mangguo.tingjian.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author auto
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DwChannelOpenApp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 操作时间
     */
    @TableField("mTime")
    private LocalDateTime mTime;

    /**
     * 操作日期
     */
    @TableField("mDate")
    private Integer mDate;

    /**
     * 操作小时 yyyyMMddHH
     */
    @TableField("mHour")
    private Integer mHour;

    /**
     * 操作周数
     */
    @TableField("mWeek")
    private Integer mWeek;

    /**
     * 月份 yyyyMM
     */
    @TableField("mMonth")
    private Integer mMonth;

    /**
     * 操作年份 yyyy
     */
    @TableField("mYear")
    private Integer mYear;

    @TableField("mRegTime")
    private Integer mRegTime;

    /**
     * 省份代码
     */
    private Integer province;

    /**
     * 城市代码
     */
    private Integer city;

    @TableField("userId")
    private Long userId;

    @TableField("userName")
    private String userName;

    /**
     * 默认1,1表示正常，0表示失效，2表示异常，3禁用
     */
    private Integer status;

    @TableField("firstLoginTime")
    private LocalDateTime firstLoginTime;

    @TableField("regTime")
    private LocalDateTime regTime;

    /**
     * 注册来源
     */
    @TableField("regFrom")
    private String regFrom;

    /**
     * 当前生命周期状态  1下载，2激活，3注册，4ugc
     */
    @TableField("processType")
    private Integer processType;

    /**
     * 当前生命周期流程最后更新时间
     */
    @TableField("processTime")
    private LocalDateTime processTime;

    @TableField("channelId")
    private String channelId;

    /**
     * 活动渠道
     */
    @TableField("subchannelId")
    private String subchannelId;


}
